HTML
<g class="g-ants">
<use xlink:href="#s-text" class="text-copy"></use>
<use xlink:href="#s-text" class="text-copy"></use>
<use xlink:href="#s-text" class="text-copy"></use>
<use xlink:href="#s-text" class="text-copy"></use>
<use xlink:href="#s-text" class="text-copy"></use>
<use xlink:href="#s-text" class="text-copy"></use>// Copy Paste here again
</g>
CSS
.text-copy:nth-child(6){
stroke: green;
animation-delay: -6s;
}
nth-child(N) --> Here N Represent the no of lines to display
That's it
Giruba karan () - 7 years ago - Reply 0